package com.go.where.manager.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.TopicDao;
import com.go.where.manager.pojo.TopicInfo;

@Repository("topicDao")
public class TopicDaoImpl extends BaseDaoImpl<TopicInfo> implements TopicDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.TopicMapper";
	}

	@Override
	public List<TopicInfo> queryAll() {
		return getSqlSession().selectList(getNameSpace()+".queryAll");
	}

}
